<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>eKupi.ba</title>
<link rel="stylesheet" type="text/css" href="style.css" />

<script language="JavaScript">
	
	function validacija()
	{
		
		
		
	    if(document.registerForma.lPassword.value=="")
	    {
	    	alert("Password nije unešen.");
	      	document.registerForma.lPassword.focus();
	      	return false;
	    }
	    if(document.registerForma.lUsername.value=="")
	    {
	      alert("Username nije unešen.");
	      document.registerForma.lUsername.focus();
	      return false;
	    }
	    if(document.registerForma.lTelefon.value=="")
	    {
	      alert("Telefon nije unešen.");
	      document.registerForma.name.focus();
	      return false;
	    }
	    if(document.registerForma.lAdresa.value=="")
	    {
	      alert("Adresa nije unešena.");
	      document.registerForma.lAdresa.focus();
	      return false;
	    }
	    if(document.registerForma.lPrezime.value=="")
	    {
	      alert("Prezime nije unešeno.");
	      document.registerForma.lPrezime.focus();
	      return false;
	    }
	    if(document.registerForma.lIme.value=="")
	    {
	      alert("Ime nije unešeno.");
	      document.registerForma.name.focus();
	      return false;
	    }
	   
	    
	}
	
	
	
	
	</script>



</head>
<body>

<div id="main_container">
	<div id="header">
    	<div class="logo"><img src="images/logo12.png" border="0" width="300" height="80" alt="" title="" /></div>       
    </div>
        <div class="menu">
        	<ul>                                                                         
        		<li><a href="pocetna.jsp">home</a></li>
                <li><a href="#">o nama</a></li>
				<li><a href="#">kontakt</a></li>
				<li class="selected"><a href="#">registracija</a></li>
        	</ul>
        </div>
        
    <div class="center_content">
    
     	<div class="center_left">
        
         
		 
		 
		 
		 
         <div class="features">   
            
            
			 <div class="text_box_register">
                        <div class="title">Unesite podatke o marketu</div>
                        	<form name="registerForma" onSubmit="return validacija();" action="provjeriRegister.jsp"  method="post">
	                            <div class="login_form_row">
	                            <label class="login_label">Naziv</label><input type="text" name="lIme" class="login_input" />
	                            </div>
								
								<div class="login_form_row">
								<label class="login_label">Username</label><input type="text" name="lUsername" class="login_input" />
								</div>
								<div class="login_form_row">
								<label class="login_label">Password</label><input type="password" name="lPassword" class="login_input" />
								</div>
								<input type="image" src="images/registrujSe.gif" class="login"  /> 
							</form>
						 </div> 
			
			
                    
         </div> 
         
            
        </div> 
        
        
        <div class="center_right">
        
        <div class="software_box"><img src="images/aaa.png" width="200" height="200" alt="" title="" /></div>
        
                   
                        
					<div class="testimonials">
						<div class="title">Novosti</div>
						<div class="text_box">
							<p class="testimonial">
							Ovdje se unose novosti
							<strong>Autor</strong>
						 </p>
						
						
						</div>                    
					
					</div>
        

        </div>  
        
        <div class="clear"></div> 
    
    </div>    

    
    <div id="footer">                                              
        <div class="left_footer"><a href="provjeriLogout.jsp">home</a> <a href="oNama.html">o nama</a> <a href="kontakt.html">kontakt</a></div>
        <div class="right_footer">
        </div>   
    
    </div>
    
    
    
</div>
<!-- end of main_container -->

</body>
</html>